-- GENERATED SPELL FOR [Deathskitter] --


function spell0_18647(pUnit, Event) --@Dread Poison,n/a--
pUnit:FullCastSpellOnTarget(32902,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18647', 20000, 1)
end

function Sorts_18647(pUnit, Event)
local choix_sorts_18647 = math.random(0, 0)
if choix_sorts_18647 == 0 then
pUnit:RegisterEvent('spell0_18647', 1, 1)
end
end

function mob18647_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18647', math.random(1500, 3000), 1)
end

function mob18647_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18647_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18647_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18647, 1, 'mob18647_Action')
RegisterUnitEvent(18647, 2, 'mob18647_Leave')
RegisterUnitEvent(18647, 3, 'mob18647_Kill')
RegisterUnitEvent(18647, 4, 'mob18647_Die')
